summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/pctl/pctl_module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/pctl/pctl_module.cpp')
-rw-r--r--src/core/hle/service/pctl/pctl_module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/pctl/pctl_module.cpp b/src/core/hle/service/pctl/pctl_module.cpp
index 2a123b42d..083609b34 100644
--- a/src/core/hle/service/pctl/pctl_module.cpp
+++ b/src/core/hle/service/pctl/pctl_module.cpp
@@ -187,7 +187,7 @@ private:
// TODO(ogniK): Recovery flag initialization for pctl:r
- const auto tid = system.GetCurrentProcessProgramID();
+ const auto tid = system.GetApplicationProcessProgramID();
if (tid != 0) {
const FileSys::PatchManager pm{tid, system.GetFileSystemController(),
system.GetContentProvider()};